Skip to content

Remove unused trilead-api dependency #58

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

TobiX
Copy link

@TobiX TobiX commented Jan 3, 2024

This removes the (unused?) dependency to the trilead-api plugin.

I'm probably missing some classloader(?) subtlety here, please feel free to
close if this is invalid...

This dependency was added by @timja in #11, so it serves... some purpose?

Since we don't use that dependency in this plugin and already get it through
ssh-credentials, this seems to be redundant...

Testing done

Unit tests and mvn hpi:run "testing" only.

### Submitter checklist
- [x] Make sure you are opening from a **topic/feature/bugfix branch** (right side) and not your main branch!
- [x] Ensure that the pull request title represents the desired changelog entry
- [x] Please describe what you did
- [ ] Link to relevant issues in GitHub or Jira
- [ ] Link to relevant pull requests, esp. upstream and downstream changes
- [ ] Ensure you have provided tests - that demonstrates feature works or fixes the issue

@TobiX TobiX requested a review from a team as a code owner January 3, 2024 15:57
@jtnord
Copy link
Member

jtnord commented Jan 3, 2024

there was previouisy some code in here to perfrom authentication for trilead ssh connections IIRC and this was then moved out.
Thus if you this plugin but not the other then you would end up with a loss of functionality. I think that was the use case and not sure how long ago that was to see if it safe to remove or not.

@timja
Copy link
Member

timja commented Jan 3, 2024

there was previouisy some code in here to perfrom authentication for trilead ssh connections IIRC and this was then moved out. Thus if you this plugin but not the other then you would end up with a loss of functionality. I think that was the use case and not sure how long ago that was to see if it safe to remove or not.

unsure exactly but this change was needed for bom to pass after the trilead-api split from core.
if bom passes with this change then it's fine I think.

(see also https://github.com/jenkinsci/bom#pct for triggering runs on PRs)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants